package com.guoj.rabbitmq.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author guoj
 * @since 2019-05-31
 */
public class TOrder extends Model<TOrder> {

private static final long serialVersionUID=1L;

    private String id;

    private String name;

    private String messageId;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TOrder{" +
        "id=" + id +
        ", name=" + name +
        ", messageId=" + messageId +
        "}";
    }
}
